import { request } from '@boeyo/portal';

/**
 * 地震事件查询列表数据
 * @ss.hasPermi('earthquakeWarning:list')
 */
export const list = (params) => {
  return request({
    url: '/earthquakeWarning/list',
    method: 'GET',
    params,
  });
};

/**
 * 根据事件ID查询数据包信息
 * @ss.hasPermi('earthquakeWarning:listByEventId')
 */
export const listByEventId = (params) => {
  return request({
    url: '/earthquakeWarning/listByEventId',
    method: 'GET',
    params,
  });
};
